Accepted Media Types
Any media file sent through the Sinch India WhatsApp API will be processed before it's sent to the recipient. While the maximum file size for every uploaded media is defined below, be aware that the file also needs to meet the post-processing limits listed below.
This means that a message with a file size that's larger than the post-processing limits is not guaranteed to be sent successfully. The result will depend on whether WhatsApp's post-processing of the media file can reduce the file size sufficiently or not.
Message Type | Supported Content Type | Post Processing Size Limit |
---|---|---|
document | Any valid MIME type - in non-templated message, PDF - in case of template message. In case of cloud API - following formats are supported: text/plain, application/pdf, application/vnd.ms-powerpoint, application/msword, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | 100MB |
image | JPEG/PNG Currently, we don't support images with transparent backgrounds. Also, image should be 8-bit, RGB or RGBA. | 5MB |
video | video/mp4, video/3gpp Notes: Only H.264 video codec and AAC audio codec is supported. We support videos with single audio stream or no audio stream. | 16MB |
audio | audio/aac, audio/mp4, audio/amr, audio/mpeg, audio/ogg, audio/opus Note: For ogg/opus, only single channel audio files are supported by WA clients. | 16MB |
Note: Whatsapp supports only PDF in Template messages, MP4 format In Video Message and audio is not supported in Media Templated message.